CC = gcc

share_memory_test:share_memory_test.c
	-${CC} -o $@ $^ -lrt
	-./$@
	-rm $@


fifo_write_test:fifo_write_test.c
	-${CC} -o $@ $^

fifo_read_test:fifo_read_test.c
	-${CC} -o $@ $^


mqueue_test:mqueue_test.c
	-${CC} -o $@ $^ -lrt
	-./$@
	-rm $@

producer:producer.cpp
	-g++ -o $@ $^ -lrt
	-./$@
	-rm $@

consumer:consumer.cpp
	-g++ -o $@ $^ -lrt
	-./$@
	-rm $@

signal_test:signal_test.cpp
	-g++ -o $@ $^
	-./$@
	-rm $@

.PHONY:clean
